package com.fenxiangtech.mall.service;

import java.util.Map;

/**
 * @author zhangjiashun
 */
public interface UserTokenService extends TokenService {

    /**
     *
     * @param code
     */
    Map<String, String> getToken(String code);

    /**
     * 获取当前用户id
     * @return
     */
    Long getCurrentUID();

    /**
     * @param key
     * @return
     */
    Object getCurrentTokenVar(String key);

}
